package IGoods

import (
	"context"
	goods_pb "mxshop/api/goods/v1"
	doGoods "mxshop/app/mxshop_api/api/internal/domain/do/goods"
)

type CategoryBrand interface {
	List(ctx context.Context, in *goods_pb.CategoryBrandFilterRequest) (*doGoods.CategoryBrandDOList, error)
	Get(ctx context.Context, ID int64) (*doGoods.BrandDOList, error)
	Create(ctx context.Context, request *doGoods.CategoryBrandDO) (*doGoods.CategoryBrandDO, error)
	Update(ctx context.Context, request *doGoods.CategoryBrandDO) error
	Delete(ctx context.Context, ID int64) error
}
